<?php
/*
 * СПВ
 **/
class SP_Form_BasicForm extends SP_Form_CommonForm
{
	public function getFormHtml()
	{
		$out=$this->getFormTagHtml().'<table>'."\r\n";
		foreach($this->fields as $field)
		{
			$out.='<tr><td>'.$field->getLabel().'</td><td>'.$field->getHtml().'</td><td>'.$field->getError().'</td></tr>'."\r\n";
		}
		$out.='</table></form>';
		return $out;
	}
}